/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.bahrie.interfaces;



import java.util.List;
import org.springframework.dao.DataAccessException;
import com.bahrie.entity.Kasir;

/**
 *
 * @author bahrie
 */
public interface InterKasir {

    void insert(Kasir o)throws DataAccessException;

    void update(Kasir o)throws DataAccessException;

    void delete(int o) throws DataAccessException;

    List<Kasir>getAll() throws DataAccessException;

    Kasir getByUsername(String o) throws DataAccessException;


}
